package net.wwang.blog.commons.global;


/**
 *
 * @date  2020/8/16
 * @author WangWei
 */

public class GlobalTipMsg {
    public static final String OPERATION_FAILED="操作失败";

    //user
    public static final String HAS_INIT = "管理员账户已初始化";
    public static final String INIT_SUCCESS = "初始化成功";
    public static final String USER_NOT_EXISTS = "用户不存在";
    public static final String INSUFFICIENT_PERMISSIONS = "权限不足";

    //login register
    public static final String USER_NAME_NOT_NULL = "用户名不能为空";
    public static final String USER_ALREADY_REGISTER = "该用户已被注册";
    public static final String USER_NOT_REGISTER = "该用户未注册";
    public static final String USER_NAME_IS_NULL = "用户名不存在";
    public static final String PASSWORD_NOT_NULL = "密码不能为空";
    public static final String ACCOUNT_DISABLED = "当前账户已被禁用，请联系管理员";
    public static final String ACCOUNT_NOT_LOGIN = "账号未登录";
    public static final String EMAIL_NOT_NULL = "邮箱地址不能为空";
    public static final String USERNAME_OR_PWD_ERROR = "用户名或密码不正确";
    public static final String EMAIL_ALREADY_REGISTER = "该邮箱已注册";
    public static final String EMAIL_NEVER_REGISTER = "该邮箱未被注册";
    public static final String REGISTER_SUCCESS = "注册成功";
    public static final String LOGIN_SUCCESS = "登录成功";
    public static final String LOGOUT_SUCCESS = "退出登录成功";

    //email
    public static final String EMAIL_ADRESS_FORMAT_ERROR = "邮箱地址格式不正确";
    public static final String EMAIL_VERIFYCODE_SEND_FAILURE = "邮箱验证码发送失败，请稍后重试。";
    public static final String VRIFYCODE_INVALID_OR_EXPIRED = "邮箱验证码无效或者已过期";
    public static final String CAPTCHA_INVALID_OR_EXPIRED = "验证码无效或者已过期";
    public static final String VRIFYCODE_ERROR = "邮箱验证码错误";
    public static final String CAPTCHA_VRIFYCODE_ERROR = "验证码错误";
    public static final String VERIFYCODE_SEND_SUCCESS = "验证码发送成功";
    public static final String NOT_TOO_OFTEN = "验证码发送过于频繁，请60秒后再尝试发送。";
    public static final String IP_SEND_TOO_TIMES = "当前用户IP发送验证码次数过多，请1小时后再尝试发送。";
    //comment
    public static final String COMMENT_SUCESS = "评论成功";


    //update
    public static final String NO_PERMISSION_TO_MODIFY = "无权限修改";
    public static final String USER_UPDATE_SUCCESS = "用户信息更新成功";
    public static final String DELETE_SUCCESS = "删除成功";


    /* menu */
    public static final String NODE_ALREADY_EXISTS = "当前目录下存在相同目录名";
    public static final String NODE_SAVE_FAILED = "目录保存失败";
    public static final String ROOT_MENU_ADD_SUCCESS = "根目录保存成功";
    public static final String MENU_ADD_SUCCESS = "目录保存成功";
    public static final String MENU_DELETE_FAILTURE = "目录删除失败";
    public static final String MENU_NOT_EXISTS = "目录不存在";
    public static final String MENU_DELETE_SUCCESS = "目录删除成功";
    public static final String MENU_NAME_NOT_NULL = "目录名不能为空";
    public static final String MENU_UPDATE_SUCCESS = "目录修改成功";
    public static final String MENU_UPDATE_FAILTURE = "目录修改失败";
    public static final String MENU_TYPE_NOT_NULL = "目录种类不能为空或者有误";
    public static final String MENU_PARENT_ID_NOT_NULL = "目录父节点不能为空";
    public static final String MENU_SPACE_NOT_NULL = "目录所属空间不能为空";
    public static final String DOC_NAME_NOT_NULL = "文档名不能为空";
    public static final String DOC_PARENT_NOT_NULL = "文档父节点不能为空";
    public static final String DOC_NAME_ALREADY_EXISTS = "该文档已存在";
    public static final String DOC_SAVE_FAILED = "文档保存失败";
    public static final String DOC_ADD_SUCCESS = "文档保存成功";
    public static final String DOC_DELETE_SUCCESS = "文档删除成功";
    public static final String DOC_SELECT_FAILTURE = "文档查询失败";
    public static final String DOC_DELETE_FAILTURE = "文档删除失败";
    public static final String DOC_NOT_EXISTS = "文档不存在";
    public static final String DOC_UPADATE_FAILTURE = "文档修改失败";
    public static final String DOC_UPADATE_SUCCESS = "文档修改成功";
    public static final String DOC_ADD_EXCEPTION = "文档上传异常";



    public static final String DOC_MENU_NOT_ADD_DOC = "文档目录禁止添加子文档";

    //未使用
    public static final String PLEASE_LOGIN_FIRST = "请先登录";
    public static final String DOC_MENU_NOT_ADD_MENU = "文档目录禁止添加子目录";
    public static final String DOC_UPLOAD_FAILTURE = "文档上传失败";
}
